<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>网格布局</title>
</head>
<style>
    .parent {
        display:grid;
        grid-template-columns:auto 1fr;
        grid-gap:20px
    } 
    .left{
        background:yellow;
    }
    .right{
        background: wheat;
    }
</style>
<body>
   <div class="parent">
       <div class="left">13</div>
       <div class="right"></div>
   </div> 
</body>
</html>